package com.zkingsoft.plugin.weixin;

public class Constants {
	//骑驴走世界
//	public static String APPID = "wxd360da97c92c317e";
//	public static String APPSECRET = "7f9deaf148d6c9de7bedd0139880ffe8";
	
	//美轩平台 家居分销
	public static String APPID = "wx613ce0b816b8a837";
	public static String APPSECRET = "99acc66e454720e264988f0daee429dc";

//	public static String OAUTH_APPID = "wxc867225dcf6370d0";
//
//	public static String OAUTH_WEB_APPID = "wx91000a803b7ebde0";
//
//	public static String OAUTH_APPSECRET = "43dcf86eb1e9c255c550becbda1eb45c";
	
	/**网页授权路径*/
	public static String OAUTH_AUTHORIZE_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect";

	/**获取网页授权接口调用凭证(access_token)、openid*/
	public static String OAUTH_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
	
	/**根据access_token和openid获取用户信息*/
	public static String GET_UESER_INFO = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";

	/**不授权 获取access_token*/
	public static String GET_ACCESS_TOKEN_WITHOUTAUTH = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";

	// 发生消息模板接口
	public static String TEMPLATEMSG_SEN = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN";

	public static String QY_OAUTH_AUTHORIZE_URL = "https://qy.weixin.qq.com/cgi-bin/loginpage?corp_id=APPID&redirect_uri=REDIRECT_URI&state=STATE&usertype=member ";
}
